package com.college.heyuhua.service.impl;

import com.college.heyuhua.dao.AdminMapper;
import com.college.heyuhua.model.AdminInfo;
import com.college.heyuhua.service.IAdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by 赵东坡 on 2019/2/7.
 * Time:11:07
 * 宇宙无敌赵牛逼，祈求永无bug
 */
@Service
public class AdminServiceImpl implements IAdminService{
    @Autowired
    private AdminMapper adminMapper;

    @Override
    public AdminInfo getloginmes(String aname, String apassword) {
        AdminInfo adminInfo = adminMapper.getloginmes(aname,apassword);
        return adminInfo;
    }
}
